package cn.rxls.community.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

/**
 * 房屋与用户关联表  用户入住(UserHouses)表实体类
 *
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("user_houses")
public class UserHouses {
    @TableId(type = IdType.AUTO)
    //主键id    
    private Long id;

    //用户id
    private Long userId;
    //房屋id
    private Long houseId;
    //状态
    private Integer state;
    //创建时间
    private Date createTime;

}
